import Layout from "@/page/index/";
export default [
  {
    name: "工作台",
    component: Layout,
    path: "/configuration",
    redirect: "/configuration/index",
    children: [
      {
        path: "/configuration/index",
        name: "首页",
        meta: {},
        component: () =>
          import(
            /* webpackChunkName: "views" */ "@/views/configuration/index.vue"
          ),
      },
      {
        path: "/configuration/notice",
        name: "公告配置",
        meta: {},
        component: () =>
          import(
            /* webpackChunkName: "views" */ "@/views/configuration/notice.vue"
          ),
      },
      {
        path: "/configuration/basic",
        name: "基础配置",
        meta: {},
        component: () =>
          import(
            /* webpackChunkName: "views" */ "@/views/configuration/basic.vue"
          ),
      },
      // {
      //   path: "/worktable/password",
      //   name: "修改密码",
      //   meta: {
      //     i18n: "password",
      //   },
      //   component: () =>
      //     import(/* webpackChunkName: "views" */ "@/views/worktable/password"),
      // },
      // {
      //   path: "/worktable/userCenter",
      //   name: "个人中心",
      //   meta: {
      //     i18n: "userCenter",
      //     hidden: true,
      //   },
      //   component: () =>
      //     import(
      //       /* webpackChunkName: "views" */ "@/views/worktable/userCenter"
      //     ),
      // },
    ],
  },
  {
    name: "用户权限",
    component: Layout,
    path: "/user",
    redirect: "/user/index",
    children: [
      {
        path: "/user/index",
        name: "用户",
        meta: {},
        component: () =>
          import(/* webpackChunkName: "views" */ "@/views/user/index.vue"),
      },
      {
        path: "/user/role",
        name: "角色",
        meta: {},
        component: () =>
          import(/* webpackChunkName: "views" */ "@/views/user/role.vue"),
      },
    ],
  },
];
